[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_LADA2104 SECONDARY_LOGO_LADA2104 "2104Parts\SECONDARY_LOGO_LADA2104.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_LADA CARSELECT_MANUFACTURER_LADA "2104Parts\CARSELECT_MANUFACTURER_LADA.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "2104Parts\TuningIcons"

move_file override relative absolute 2104Parts\LADA2104.ini scripts\UnlimiterData\LADA2104.ini

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions LADA2104
do
remove_collection GLOBAL\GLOBALB.LZC Collisions LADA2104
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides LADA2104_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides LADA2104_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos IS300 LADA2104
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_WHITE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 ManufacturerName LADA
copy_collection GLOBAL\GLOBALB.LZC Collisions IS300 LADA2104
import override GLOBAL\GLOBALB.LZC DBModelParts 2104Parts\LADA2104.bin
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides GTI_PART_SPOILER LADA2104_PART_SPOILER

if directory_exists absolute CARS\LADA2104
do
else
create_folder absolute CARS\LADA2104
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\LADA2104\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\LADA2104\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\LADA2104\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\LADA2104\VINYLS.BIN

end

combobox "Yarko-Belyy (White)" "Baltika (Teal)" "Yashma (Maroon)" "Morskaya Puchina (Green)" "Indigo" "Solaris (Maroon)" "Chereshnya (Red)" "Cayman (Green)" "Korolevskiy Siniy (Royal Blue)" "Choose your stock color."

"Yarko-Belyy (White)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_WHITE

"Baltika (Teal)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_BALTIKA

"Yashma (Maroon)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_MAROON

"Morskaya Puchina (Green)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_GREEN

"Indigo"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_INDIGO

"Solaris (Maroon)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_SOLARIS

"Chereshnya (Red)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_RED

"Cayman (Green)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_GREEN2

"Korolevskiy Siniy (Royal Blue)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2104 DefaultBasePaint LADA2104_PAINT_BLUE

end
